<script >
// import { loadModules } from 'esri-loader';
// export default
//   {
//     name: 'App',
//     components:
//     {

//     },
//     methods:
//     {
//       _createSceneview: function () {
//         let option =
//         {
//           url: 'https://js.arcgis.com/4.27/',
//           css: 'https://js.arcgis.com/4.27/esri/themes/light/main.css'
//         };
//         loadModules(["esri/Map", "esri/views/SceneView","esri/layers/FeatureLayer"], option).then(([Map, SceneView,FeatureLayer]) => {
//           let map = new Map({
//             basemap: "topo-vector",
//             ground: "world-elevation"
//           });
//           let view = new SceneView({
//             container: "sceneview", // Reference to the DOM node that will contain the view
//             map: map // References the map object created in step 3
//           });
//           const featureLayer = new FeatureLayer({
//            url: "http://120.79.22.45/server/rest/services/delw/shunde_network_delw_bj_Above2000/FeatureServer/1"
//             // url: "https://localhost:6443/arcgis/rest/services/D05/FeatureServer/3"
//         });

//         map.add(featureLayer);

//         });
//       }
//     },
//     mounted: function () {
//       this._createSceneview();
//     }
//   }
</script>

<template>
  <div id="sceneview"></div>
</template>

<style scoped>
#sceneview {
  position: absolute;
  width: 100%;
  height: 100%;
}
</style>
